import Vue from 'vue'
import App from './App.vue'
import CrudInstall from "@/index";
Vue.use(CrudInstall, { ctx: 'http://localhost:8888' })
const Crud = CrudInstall.Crud;

let dialogConfig = Crud.props.dialogConfig.default();
dialogConfig.closeOnClickModal = true
Crud.props.dialogConfig.default = ()=>dialogConfig

import '../examples/plugins/axios'
import '../examples/plugins/element'
Vue.config.productionTip = false
new Vue({
    render: h => h(App),
}).$mount('#app')